package com.zecan.blog.service;

import com.zecan.blog.dto.message.MessageDto;
import com.zecan.blog.vo.message.MessageVo;

import java.util.List;

/**
 * @ClassName MessageService
 * @Description
 * @date 2022/11/22 21:52
 * @Version 1.0
 */

public interface MessageService {

    void addMessage(MessageDto messageDto);


    List<MessageVo> getMessageList();

    List<MessageVo>  getMessageByLimit(Integer offset, Integer limit);

    void delMessage(Integer messageId);

}
